<include file="Common@Public:header" />
	<div class="amz-banner">
		<div class="am-container" data-am-scrollspy="{animation: 'scale-up', repeat: false}">
			<div class="am-u-md-12">
				<h1>{$category.title}</h1>
				<p>{$category.description}</p>
			</div>
		</div>
	</div>

	<div class="am-container am-margin-top am-margin-bottom" style="min-height:600px;">
		<div class="am-cf am-u-md-12 am-margin-bottom">
			<ul class="am-nav am-nav-pills">
				{:W('Category/lists', array($category['id'], false))}
			</ul>
		</div>
		<div class="am-u-md-12 am-u-sm-12 photo-list" id="container">
			<notempty name="list">
			<!-- Contents================================================== -->
			<volist name="list" id="data">
			<div class="am-thumbnail item">
				<a href="{:U('Article/detail?id='.$data['id'])}"><img class="am-img-responsive" src="{$data.cover_id|get_cover='path'}" alt="{$data.title}"/></a>
				<h3 class="am-thumbnail-caption"><a href="{:U('Article/detail?id='.$data['id'])}">{$data.title}</a></h3>
				<p>{:msubstr(op_t($list['description']),0,30)}</p>
				<span class="am-block am-text-right"><i class="am-icon-eye"></i> {$data.view}</span>
			</div>
			</volist>
			</notempty>

            <div class="onethink pagination pagination-right pagination-large">
                <article:page cate="$category['id']" listrow="$category['list_row']" />
            </div>

		</div>
	</div>
<script type="text/javascript" src="__STATIC__/masonry.pkgd.min.js"></script>
<script type="text/javascript">
var container = document.querySelector('#container');
var msnry = new Masonry( container, {
  // options...
  itemSelector: '.item',
  columnWidth: 276
});
</script>
<include file="Common@Public:footer" />